package com.ruoyi.swla2.domain;

import com.ruoyi.common.annotation.Excel;
import com.ruoyi.common.core.domain.BaseEntity;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;

/**
 * 区域管理对象 dw_zone
 *
 * @author gdqt
 * @date 2023-06-16
 */
public class Zone extends BaseEntity {
    private static final long serialVersionUID = 1L;

    /**
     * 平台表单自增主键
     */
    private Long ID;

    /**
     * 租户ID
     */
//    @Excel(name = "租户ID")
    private String tenantId;

    /**
     * 层级ID（系统自动生成，勿填）
     */
//    @Excel(name = "层级ID")
    private String AreaID;

    /**
     * 区域名称
     */
    @Excel(name = "区域名称")
    private String AreaName;

    /**
     * 层级类型1:大分区、2：DMA、3：大用户、4：楼栋、5虚拟分区
     */
    @Excel(name = "区域类型")
    private String LevelType;

    /**
     * 序号
     */
    @Excel(name = "排序号")
    private String rank;

    /**
     * 父级ID
     */
//    @Excel(name = "父级ID")
    private String PID;

    /**
     * 区域描述
     */
    @Excel(name = "区域描述")
    private String Details;


    /**
     * 缩放层级
     */
    @Excel(name = "缩放级别")
    private Long zoom;

    /**
     * 备注
     */
    @Excel(name = "备注")
    private String Remark;

    /**
     * 未知
     */
//    @Excel(name = "未知")
    private String Type;

    /**
     * 分区点集合
     */
//    @Excel(name = "分区点集合")
    private String AreaPoint;

    /**
     * 是否删除(1-未删除,2-已删除)
     */
//    @Excel(name = "是否删除(1-未删除,2-已删除)")
    private Long deleteFlag;

    public void setID(Long ID) {
        this.ID = ID;
    }

    public Long getID() {
        return ID;
    }

    public void setTenantId(String tenantId) {
        this.tenantId = tenantId;
    }

    public String getTenantId() {
        return tenantId;
    }

    public void setAreaID(String AreaID) {
        this.AreaID = AreaID;
    }

    public String getAreaID() {
        return AreaID;
    }

    public void setAreaName(String AreaName) {
        this.AreaName = AreaName;
    }

    public String getAreaName() {
        return AreaName;
    }

    public void setPID(String PID) {
        this.PID = PID;
    }

    public String getPID() {
        return PID;
    }

    public void setDetails(String Details) {
        this.Details = Details;
    }

    public String getDetails() {
        return Details;
    }

    public void setRank(String rank) {
        this.rank = rank;
    }

    @Override
    public String getRemark() {
        return Remark;
    }

    @Override
    public void setRemark(String remark) {
        Remark = remark;
    }

    public String getRank() {
        return rank;
    }

    public void setLevelType(String LevelType) {
        this.LevelType = LevelType;
    }

    public String getLevelType() {
        return LevelType;
    }

    public void setType(String Type) {
        this.Type = Type;
    }

    public String getType() {
        return Type;
    }

    public void setAreaPoint(String AreaPoint) {
        this.AreaPoint = AreaPoint;
    }

    public String getAreaPoint() {
        return AreaPoint;
    }

    public void setZoom(Long zoom) {
        this.zoom = zoom;
    }

    public Long getZoom() {
        return zoom;
    }

    public void setDeleteFlag(Long deleteFlag) {
        this.deleteFlag = deleteFlag;
    }

    public Long getDeleteFlag() {
        return deleteFlag;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this, ToStringStyle.MULTI_LINE_STYLE)
                .append("ID", getID())
                .append("tenantId", getTenantId())
                .append("AreaID", getAreaID())
                .append("AreaName", getAreaName())
                .append("PID", getPID())
                .append("Details", getDetails())
                .append("Remark", getRemark())
                .append("rank", getRank())
                .append("LevelType", getLevelType())
                .append("Type", getType())
                .append("AreaPoint", getAreaPoint())
                .append("zoom", getZoom())
                .append("deleteFlag", getDeleteFlag())
                .toString();
    }
}
